package cn.sundat.service;

import java.util.List;

import cn.sundat.model.Company;
import cn.sundat.model.CompanyProduct;
import cn.sundat.model.PageBean;
import cn.sundat.model.Product;

public interface CompanyService {
	//company的增加
	public void save(Company company);
	//company的删除
	public void delete(Company company);
	//company的修改
	public void update(Company company);
	//company的查询
	public List<Company> findAll();
	//分页查询所有的company
	public PageBean<Company> findByPage(Integer currPage, Integer pageSize);
	//通过id查找company
	public Company getById(String comp_id);
	
}
